Coloring 3-Colorable Graphs
نویسنده
چکیده
Graph coloring in general is an extremely easy-to-understand yet powerful tool. It has wide-ranging applications from register allocation to image segmentation. For such a simple problem, however, the question is surprisingly intractable. In this section I will introduce the problem formally, as well as present some general background on graph coloring. There are several ways to color a graph, in particular, one can color the vertices, faces, or the edges. These problems turn out to be equivalent for example, coloring the faces of a graph is the same as coloring the vertices of the dual, while coloring the edges is the same as coloring the vertices of the line graph. Today we consider the problem of vertex coloring. For the sake of formality, here are a few definitions. Definition A coloring for a graph G = (V,E) is a set of colors C along with a function f mapping the vertex set V into C. Definition A coloring is legal if ∀i, j ∈ V, (i, j) ∈ E ⇒ f(i) 6= f(j). In other words, one cannot color adjacent vertices the same color. Definition A graph is n-colorable if there exists a legal coloring on n colors. Definition The chromatic number of a graph is the minimum cardinality over all sets of colors that admit a legal coloring. Already, we have the following theorem. Theorem 1.1. Determining the chromatic number of a graph is NP-complete. It turns out the situation is even more dire. Theorem 1.2. Let n be the chromatic number of a graph. Then approximating n to within n1− for > 0 is NP-hard. With this in mind, we turn to a slightly easier question: assuming we know that a graph is 3-colorable, what’s the best we can do?
منابع مشابه
Advice Complexity of the Online Vertex Coloring Problem
We study online algorithms with advice for the problem of coloring graphs which come as input vertex by vertex. We consider the class of all 3-colorable graphs and its sub-classes of chordal and maximal outerplanar graphs, respectively. We show that, in the case of the first two classes, for coloring optimally, essentially log2 3 advice bits per vertex (bpv) are necessary and sufficient. In the...
متن کاملSize of edge-critical uniquely 3-colorable planar graphs
A graph G is uniquely k-colorable if the chromatic number of G is k and G has only one k-coloring up to permutation of the colors. A uniquely k-colorable graph G is edge-critical if G − e is not a uniquely k-colorable graph for any edge e ∈ E(G). Mel’nikov and Steinberg [L. S. Mel’nikov, R. Steinberg, One counterexample for two conjectures on three coloring, Discrete Math. 20 (1977) 203-206] as...
متن کاملOn Coloring Resilient Graphs
We introduce a new notion of resilience for constraint satisfaction problems, with the goal of more precisely determining the boundary between NP-hardness and the existence of efficient algorithms for resilient instances. In particular, we study r-resiliently k-colorable graphs, which are those k-colorable graphs that remain k-colorable even after the addition of any r new edges. We prove lower...
متن کاملOn the Hardness of 4-Coloring a 3-Colorable Graph
We give a new proof showing that it is NP-hard to color a 3-colorable graph using just four colors. This result is already known [18], but our proof is novel as it does not rely on the PCP theorem, while the one in [18] does. This highlights a qualitative difference between the known hardness result for coloring 3-colorable graphs and the factor n hardness for approximating the chromatic number...
متن کاملFinding Large Independent Sets
This lecture deals with the problem of proper vertex colorings of graphs. More speciically, we are interested in coloring a given 3-colorable graph with as few colors as we can. It is easy to see that it is NP-Hard to nd a 3 coloring for any given 3-colorable graph-this would enable deciding whether a general graph is 3-colorable. If a polynomial-time algorithm existed for 3-coloring a 3-colora...
متن کاملAlmost All k-Colorable Graphs are Easy to Color
We describe a simple and eecient heuristic algorithm for the graph coloring problem and show that for all k 1, it nds an optimal coloring for almost all k-colorable graphs. We also show that an algorithm proposed by Br elaz and justiied on experimental grounds optimally colors almost all k-colorable graphs. EEcient implementations of both algorithms are given. The rst one runs in O(n+m log k) t...
متن کامل